﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UpdateIISDriver
{
    class UpdateIISDriver
    {
        const string WebSite = "/LM/W3SVC/1";
        const string VDirName = "AgentCommunications";

        static void Main(string[] args)
        {
            UpdateIIS.CustomActions.DoDeleteVirtualDirectory(WebSite, VDirName);
            UpdateIIS.CustomActions.DoAddVirtualDirectory(WebSite, VDirName, @"C:\inetpub\wwwroot\AgentCommunications");
        }
    }
}
